package com.hdoit.ares.logical.acc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.tennetcn.common.message.PagerModel;
import com.hdoit.ares.logical.acc.dao.IAwardSettingDao;
import com.hdoit.ares.logical.acc.model.AwardSetting;
import com.hdoit.ares.logical.acc.service.IAwardSettingService;
import com.hdoit.ares.logical.viewmodel.acc.AwardSettingSearch;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2017年11月28日 19:32:29
 * @comment
 */
@Component
public class AwardSettingServiceImpl extends SuperService<AwardSetting> implements IAwardSettingService{
    private IAwardSettingDao awardSettingDao;
    
	public IAwardSettingDao getAwardSettingDao() {
		return awardSettingDao;
	}
    @Resource
	public void setAwardSettingDao(IAwardSettingDao awardSettingDao) {
		this.awardSettingDao = awardSettingDao;
	}

	@Override
	public List<AwardSetting> queryList(AwardSettingSearch search, PagerModel pagerModel) {
		return awardSettingDao.queryList(search,pagerModel);
	}

	@Override
	public List<AwardSetting> queryList(AwardSettingSearch search) {
		return awardSettingDao.queryList(search);
	}

	@Override
	public int queryCount(AwardSettingSearch search) {
		return awardSettingDao.queryCount(search);
	}

	@Override
	public AwardSetting queryModelByHC(String helpCode,String insuranceType) {
		return awardSettingDao.queryModelByHC(helpCode,insuranceType);
	}

}
